<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MeetingNoteWorkclass
 *
 * @author adhamhelal
 */
class MeetingNoteInfoPanel extends QPanel{
	protected $mctMeetingNote;
        


        //Controls
        public $lblRecordId;
        
        protected $lblAddressId;
        protected $lblAddressCreateBy;
	protected $lblAddressCreateDate;
	protected $lblAddressUpdateBy;
	protected $lblAddressUpdateDate;

        protected $lblMeetingNoteId;
        protected $lblMeetingNoteCreateBy;
	protected $lblMeetingNoteCreateDate;
	protected $lblMeetingNoteUpdateBy;
	protected $lblMeetingNoteUpdateDate;
        
       public function __construct($objParentObject, $mctMeetingNote, $strControlId = null) {
                // Call the Parent
                try {
                        parent::__construct($objParentObject, $strControlId);
                } catch (QCallerException $objExc) {
                        $objExc->IncrementOffset();
                        throw $objExc;
                }

                // Setup Template
                $this->strTemplate = __DOCROOT__.__MEETING__ .  '/tpl/qpanel.tpl.php';

                // Set the Meta Conrol
                $this->mctMeetingNote = $mctMeetingNote;
                $objMeetingNote = $this->mctMeetingNote->__get('MeetingNote');
                

                $this->lblMeetingNoteId = $this->mctMeetingNote->lblId_Create();
                $this->lblMeetingNoteId->Name = QApplication::Translate("MeetingNote: Id");
                $this->lblMeetingNoteId->SetParentControl($this);

                $this->lblMeetingNoteCreateBy = $this->mctMeetingNote->lblCreateBy_Create();
                $this->lblMeetingNoteCreateBy->Name = QApplication::Translate("Meeting Note: Created By");
                $this->lblMeetingNoteCreateBy->SetParentControl($this);

                $this->lblMeetingNoteCreateDate = $this->mctMeetingNote->lblCreateDate_Create(null,QDateTime::FormatDisplayDateTimeFull);
                $this->lblMeetingNoteCreateDate->Name = QApplication::Translate("Meeting Note: Created Date");
                $this->lblMeetingNoteCreateDate->SetParentControl($this);

                $this->lblMeetingNoteUpdateBy = $this->mctMeetingNote->lblUpdateBy_Create();
                $this->lblMeetingNoteUpdateBy->Name = QApplication::Translate("Meeting Note: Update By");
                $this->lblMeetingNoteUpdateBy->SetParentControl($this);

                $this->lblMeetingNoteUpdateDate = $this->mctMeetingNote->lblUpdateDate_Create(null,QDateTime::FormatDisplayDateTimeFull);
                $this->lblMeetingNoteUpdateDate->Name = QApplication::Translate("Meeting Note: Update Date");
                $this->lblMeetingNoteUpdateDate->SetParentControl($this);
                


                }

    public function Validate() {
        $blnToReturn = true;


        return $blnToReturn;
    }




}
?>

